var express = require('express');

var router = express.Router();

const { getSalesOrder,findTypeOrder, addOrder,deletOrder,getOrder,updateOrderSuccess } = require("../controllers/order")
router.post("/getSalesOrder", getSalesOrder)
router.post("/addOrder", addOrder)//增减订单
router.post("/deletOrder", deletOrder)//删除订单
router.post("/getOrder", getOrder)//获取一个订单
//修改订单
router.post("/updateOrderSuccess", updateOrderSuccess)
//查找订单
router.post("/findTypeOrder", findTypeOrder)

module.exports = router;
